﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
using System.Reflection;

namespace XLT_MobileTest
{    
    public class Language
    {
        private Form1 __root;

        private int _id;
        private Bitmap _flagIcon;

        public Language(Form1 root, int id)
        {
            __root = root;
            _id = id;
            _flagIcon = new Bitmap(String.Format("{0}\\gfx\\lang\\{1}.png", Form1.GetApplicationPath(), _id));
            //_flagIcon = XLT_MobileTest.Properties.Resources
        }

        public Bitmap FlagIcon { get { return _flagIcon; } }
        public int Id { get { return _id; } }
    }
}
